
package com.hlkj.pay.service.user;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import com.hlkj.framework.common.pojo.PageResult;
import com.hlkj.pay.dto.user.UserQueryDto;
import com.hlkj.pay.infrastructure.model.user.UserDO;

/**
 * @author HlpayTeam
 * @date 2024/10/25 14:37
 */
public interface IUserService {


    /**
     * 
     * @param phone
     * @return
     */
    UserDO queryUserByPhone(String phone);

    /**
     * 
     * @param userDO
     */
    UserDO saveUser(UserDO userDO);
    /**
     *
     * @param userQueryDto
     * @return
     */
    PageResult<UserDO> queryPage(UserQueryDto userQueryDto);
    /**
     *
     * @param id
     * @return
     */
    UserDO queryUserById(Long id);
    /**
     *
     * @param userDO
     */
    void updateUser(UserDO userDO);
}
